package com.tebiecloud.base.client.model;

import com.tebiecloud.base.client.model.entity.BaseApi;
import lombok.Data;

import java.io.Serializable;

/**
 * 限流
 * @Author: tebie
 * @Date: 2019-08-08 16:48
 */
@Data
public class RateLimitApi extends BaseApi implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private Long itemId;

    /**
     * 策略id
     */
    private Long policyId;

    /**
     * 策略名称
     */
    private String policyName;

    /**
     * 限额
     */
    private Long limitQuota;

    /**
     * 时间单位
     */
    private String intervalUnit;

    /**
     * 地址
     */
    private String url;

}
